package cn.xinfei.xdecision.common.model.analyse.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("t_analyse_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnalyseDataModel extends Model<AnalyseDataModel> {
    //主键id
    @TableId(type= IdType.AUTO)
    private Long id;


    private String uniqueKey;

    /**
     * 时间点：biz_time/cell
     */
    private Long timeLine;
    /**
     * cell区间内的预聚和的指标值
     */
    private Long cellValue;
    /**
     * cell区间内的预聚和或修改过的次数
     */
    private Long cellCnt;
    private Long version;

    //创建日期
    private Date createTime;

    //修改日期
    private Date updateTime;

}
